package com.rerun.service;

import com.baomidou.mybatisplus.service.IService;
import com.rerun.entity.EduBackground;

import java.util.List;

/**
 * The interface Edu background service.
 *
 * @author dax.
 * @version v1.0
 * @since 2017 /9/29 9:11
 */
public interface IEduBackgroundService extends IService<EduBackground> {
    /**
     * Select by phone number edu background.
     *
     * @param phoneNumber the phone number
     * @return the edu background
     */
    EduBackground selectByPhoneNumber(String phoneNumber);

    /**
     * Select by member id edu background.
     *
     * @param memberId the member id
     * @return the edu background
     */
    List<EduBackground > selectByMemberId(String memberId);

    /**
     * 更新Edu  memberId  定时任务专用.
     * @see com.rerun.task.MemberTask
     */
    void updateMemberIdTask();

    /**
     * Select phone number no member id list.
     *
     * @return the list
     */
    List<String>  selectPhoneNumberNoMemberId();
}
